package com.softjourn.punchcard.merchant.model;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonAutoDetect
@JsonIgnoreProperties(ignoreUnknown = true)
public class PunchCard {
	
	private String uid;

	private Integer bonuses;
	
	private Merchant merchant;
	
	private Client client;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public Integer getBonuses() {
		return bonuses;
	}

	public void setBonuses(Integer bonuses) {
		this.bonuses = bonuses;
	}

	public Merchant getMerchant() {
		return merchant;
	}

	public void setMerchant(Merchant merchant) {
		this.merchant = merchant;
	}

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	@Override
	public String toString() {
		return "PunchCard [uid=" + uid + ", bonuses=" + bonuses + ", merchant="
				+ merchant + ", client=" + client + "]";
	}
	
}
